﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;

namespace l1cs.server.serverpackets
{
    public class S_Emblem : ServerBasePacket
    {
        private static Logger _log = Logger.getLogger( typeof( S_Emblem ).FullName );

        public S_Emblem( int clanid )
        {
            // TODO 優先度5 エンブレムの保存方法
            //BufferedInputStream bis = null;
            //String emblem_file = Convert.ToString( clanid );
            //File file = new File( "emblem/" + emblem_file );
            //if ( file.exists() )
            //{
            //    int data = 0;
            //    bis = new BufferedInputStream( new FileInputStream( file ) );
            //    writeC( Opcodes.S_OPCODE_EMBLEM );
            //    writeD( clanid );
            //    while ( ( data = bis.read() ) != -1 )
            //    {
            //        writeP( data );
            //    }
            //}
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override
        public String getType()
        {
            return "[S] S_Emblem";
        }
    }
}